<?php
/**
 * jishupu-cms
 * @Author:技术铺<jishupu@qq.com>
 * @Date: 2021/11/11
 */
namespace App\Http\Controllers;

use Illuminate\Http\Request;

/**
 * 演示模块
 * 生成api接口命令：php artisan make:controller DemoController --api
 * Class DemoController
 * @package App\Http\Controllers
 */
class DemoController extends Controller
{
    /**
     * 列表
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        //
    }

    /**
     * 添加
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request)
    {
        //
    }

    /**
     * 查看
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function show($id)
    {
        //
    }

    /**
     * 修改
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function update(Request $request, $id)
    {
        //
    }

    /**
     * 删除
     *
     * @param  int|string  $id
     * @return \Illuminate\Http\Response
     */
    public function destroy($id)
    {
        //
    }

    /**
     * 更新状态
     *
     * @param Request $request
     * @param $id
     */
    public function updateStatus(Request $request, $id)
    {
        //
    }

    /**
     * 排序
     *
     * @param Request $request
     */
    public function updateStort(Request $request)
    {
        //
    }
}
